﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace StudyStationWEBAPI.Model
{
    public class StudyResource
    {
        [Key]
        [ScaffoldColumn(false)]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long fileID { get; set; }
        public string fileName { get; set; }
        public string department { get; set; }
        public string uploaderName { get; set; }
        public string fileCategory { get; set; }
        public double fileSize { get; set; }
        public List<Comment> comments { get; set; }
    }
}
